package com.xueyi.system.diseasesLibrary.domain.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.xueyi.common.core.web.tenant.base.TBaseEntity;
import com.xueyi.system.diseasesLibrary.domain.dto.DiseasesLibraryDto;
import com.baomidou.mybatisplus.annotation.TableField;
import com.xueyi.common.core.annotation.Excel;

/**
 * 病虫害库 持久化对象
 *
 * @author zlf
 */
@TableName(value = "base_diseases_library", excludeProperty = {"sort"})
public class DiseasesLibraryPo extends TBaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 品种id
     */
    @Excel(name = "品种id")
    @TableField("breed_id")
    private String breedId;


    /**
     * 品种名称
     */
    @Excel(name = "品种名称")
    @TableField("breed_name")
    private String breedName;


    /**
     * 别名
     */
    @Excel(name = "别名")
    @TableField("alias")
    private String alias;

    /**
     * 病虫害图片
     */
    @Excel(name = "病虫害图片")
    @TableField("img")
    private String img;

    /**
     * 类型（病害、虫害）
     */
    @Excel(name = "类型", readConverterExp = "病=害、虫害")
    @TableField("type")
    private String type;

    /**
     * 作物id
     */
    @Excel(name = "作物id")
    @TableField("crop_id")
    private String cropId;

    /**
     * 作物名称
     */
    @Excel(name = "作物名称")
    @TableField("crop_name")
    private String cropName;

    /**
     * 介绍
     */
    @Excel(name = "介绍")
    @TableField("intro")
    private String intro;

    /**
     * 症状
     */
    @Excel(name = "症状")
    @TableField("symptom")
    private String symptom;

    /**
     * 治疗方法
     */
    @Excel(name = "治疗方法")
    @TableField("therapies")
    private String therapies;

    /**
     * 发病因素
     */
    @Excel(name = "发病因素")
    @TableField("pathogenic")
    private String pathogenic;

    /**
     * 状态
     */
    @Excel(name = "状态")
    @TableField("status")
    private String status;


    public String getBreedId() {
        return breedId;
    }

    public void setBreedId(String breedId) {
        this.breedId = breedId;
    }

    public String getBreedName() {
        return breedName;
    }

    public void setBreedName(String breedName) {
        this.breedName = breedName;
    }

    public void setAlias(String alias) {
        this.alias = alias;
    }

    public String getAlias() {
        return alias;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getImg() {
        return img;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getType() {
        return type;
    }

    public void setCropId(String cropId) {
        this.cropId = cropId;
    }

    public String getCropId() {
        return cropId;
    }

    public void setCropName(String cropName) {
        this.cropName = cropName;
    }

    public String getCropName() {
        return cropName;
    }

    public void setIntro(String intro) {
        this.intro = intro;
    }

    public String getIntro() {
        return intro;
    }

    public void setSymptom(String symptom) {
        this.symptom = symptom;
    }

    public String getSymptom() {
        return symptom;
    }

    public void setTherapies(String therapies) {
        this.therapies = therapies;
    }

    public String getTherapies() {
        return therapies;
    }

    public void setPathogenic(String pathogenic) {
        this.pathogenic = pathogenic;
    }

    public String getPathogenic() {
        return pathogenic;
    }

    @Override
    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String getStatus() {
        return status;
    }

}
